package com.cf.game.cowboy.msg;

import com.cf.game.service.constants.EnumH5GameMessageType;
import com.cf.serialize.Response;


/**
 * cf-game-CowQueryRequest
 * 同步游戏信息
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/3/27 11:41
 */

public class CowUserInfoResponse extends Response {


    private double money;

    public CowUserInfoResponse(String msg, Integer code) {
        super(msg, code);
    }


    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        CowUserInfoResponse.type = type;
    }

    public static Integer type = EnumH5GameMessageType.COW_BOY_USER_INFO_QUERY_RESULT.getType();

    @Override
    public Integer messageType() {
        return type;
    }

}
